import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

/* const a = '100'
console.log(a) */

// 导入全局的样式
import '@/styles/reset.scss'
// 导入Element-plus的样式
import 'element-plus/dist/index.css'

// 导入权限模块
import './permission'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)

app.mount('#app')
